package com.midou.administration.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.midou.administration.bo.DelDesk;
import com.midou.administration.bo.TypeDesk;
import com.midou.administration.entity.Desk;
import com.midou.administration.entity.DeskType;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
public interface DeskService {
    public List<Desk> queryDesk(TypeDesk typeDesk);
    public Integer save(Desk desk);
    public String queryQrPath(Integer id);
    public Integer delDesk(DelDesk delDesk);
    public Desk queryDeskOne(Integer id);
    public Integer modifyDesk(Desk desk);


    //根据类型查询桌台
    List<Desk> queryDeskByTypeId (int id,int buId);
}
